﻿import v = require("Validation");
    var numberRegexp = /^[0-9]+$/;
    export class ZipCodeValidator implements v.StringValidator
    {
        isAcceptable(s:string)
        {
            return s.length == 5
                && numberRegexp.test(s);
        }
    }
